package com.Calculator.models.impl;

import com.Calculator.models.iFunctionName;

public class CommandsName implements iFunctionName{
    // 计算器操作键名字
    private String[] commands;

    public CommandsName() {
        commands = new String[]{"^-^", "=", "Clear", "Back"};
    }

    @Override
    public String[] getName() {
        return commands;
    }

    @Override
    public int getLength() {
        return commands.length;
    }

    @Override
    public String[] setName(String[] commands) {
        this.commands = commands;
        return commands;
    }
}
